import { request } from 'umi';

//--------------------进度页- - - - - - -----------
export let getInfo = () => {//获取用户信息
  return request('/getInfo')
}
export let selectClassPlan = () => {//获取右侧下拉选项
  return request('/sxpt/progress/selectClassPlan')
}
export let selectClassPlanInit = (classid:string,id: string) => {//获取延期未完成人数
  return request('/sxpt/progress/selectClassPlanInit?classid='+classid+'&classPlanid='+id)
}
export let classRank = (id: string) => {//获取排行榜
  return request("/sxpt/progress/classRank?classid=9&classPlanid="+id)
}